package cn.zn.flowTemplate.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author zn-admin
 * @since 2021-06-28
 */
@TableName("SYS_FLOW_VIEW")
public class SysFlowView extends Model<SysFlowView> {

    private String id;

    /**
     * 对应的表
     */
    @TableField("MAIN_TABLE")
    private String mainTable;

    /**
     * 审批对应的service
     */
    @TableField("FLOW_SERVICE")
    private String flowService;

    /**
     * 审批对应的表单
     */
    @TableField("FLOW_VIEW")
    private String flowView;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMainTable() {
        return mainTable;
    }

    public void setMainTable(String mainTable) {
        this.mainTable = mainTable;
    }

    public String getFlowService() {
        return flowService;
    }

    public void setFlowService(String flowService) {
        this.flowService = flowService;
    }

    public String getFlowView() {
        return flowView;
    }

    public void setFlowView(String flowView) {
        this.flowView = flowView;
    }

    @Override
    public Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "SysFlowView{" +
                "mainTable=" + mainTable +
                ", flowService=" + flowService +
                ", flowView=" + flowView +
                "}";
    }
}
